package cn.edu.cqupt.educationfoundation.votingsystem.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author :DengSiYuan
 * @date :2019/11/20 21:53
 * @desc :
 */
@Data
@ToString
public class UserVo {

    @ApiModelProperty(name = "id",value = "用户ID(主键、自增）",dataType = "int")
    private Integer userId;
    @ApiModelProperty(name = "nickName",value = "自定义昵称",dataType = "string")
    private String nickName;
    @ApiModelProperty(name = "country",value = "国家",dataType = "string")
    private String country;
    @ApiModelProperty(name = "province",value = "省份")
    private String province;
    @ApiModelProperty(name = "city",value = "城市")
    private String city;
    @ApiModelProperty(name = "avatarUrl",value = "头像地址",dataType = "string")
    private String avatarUrl;
    @ApiModelProperty(name = "registerTime",value = "注册时间",dataType = "string")
    private String registerTime;
    @ApiModelProperty(name = "age",value = "年龄",dataType = "integer")
    private Integer age;
    @ApiModelProperty(name = "gender",value = "性别（0未知1男2女）",dataType = "integer")
    private Integer gender;

}
